/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.cesupa.sessionbean;

import br.cesupa.localinterface.IdiomaDAO;
import br.cesupa.sgc.entity.Idioma;
import javax.ejb.Stateless;

/**
 *
 * @author yuri
 */
@Stateless
public class IdiomaSUDI extends GenericSUDI<Idioma> implements IdiomaDAO {

    public Idioma getByNome(String nome) {
        return (Idioma) super.executeNamedQueryObject("Idioma.findByNome", "nome", nome);
    }

}
